www.gusucode.com > wordpress PHP博客系统英文版 v4.5.1PHP源码程序 > wordpress PHP博客系统英文版 v4.5.1/wordpress/wordpress/wp-content/themes/twentyfourteen/js/featured-content-admin.js
/** * Twenty Fourteen Featured Content admin behavior: add a tag suggestion * when changing the tag. */ /* global ajaxurl:true */ jQuery( document ).ready( function( $ ) { $( '#customize-control-featured-content-tag-name input' ).suggest( ajaxurl + '?action=ajax-tag-search&tax=post_tag', { delay: 500, minchars: 2 } ); });